{% block sw_settings_logging_entry_info %}
<sw-modal
    :title="$tc('sw-settings-logging.entryInfo.title')"
    @modal-close="onClose"
>

    {% block sw_settings_logging_entry_info_tabs %}
    <sw-tabs position-identifier="sw-settings-logging-entry-info">

        {% block sw_settings_logging_entry_info_tab_items %}
        <sw-tabs-item
            :active="activeTab === 'raw'"
            @click="activeTab = 'raw'"
        >
            {{ $tc('sw-settings-logging.entryInfo.tabRaw') }}
        </sw-tabs-item>
        {% endblock %}

        <template #content>
            {% block sw_settings_logging_entry_info_content %}
            {% block sw_settings_logging_entry_info_raw_content %}
            <mt-textarea
                v-if="activeTab === 'raw'"
                :model-value="displayString"
            />
            {% endblock %}
            {% endblock %}
        </template>

    </sw-tabs>
    {% endblock %}

    {% block sw_settings_logging_entry_info_footer %}
    <template #modal-footer>
        {% block sw_settings_logging_entry_info_close_button %}
        <mt-button
            size="small"
            variant="secondary"
            @click="onClose"
        >
            {{ $tc('sw-settings-logging.entryInfo.actionClose') }}
        </mt-button>
        {% endblock %}
    </template>
    {% endblock %}

</sw-modal>
{% endblock %}
